package com.hula.onion.book.server.spider.platforms.xitouwang;

import org.springframework.stereotype.Component;

/**
 * Description:
 * Create Date:2018/1/18 14:18
 *
 * @author shan
 * @version 1.0
 */
@Component
public class XiTouWangResponseEntity<T> {

    /**
     * 错误信息
     */
    private String tips;

    /**
     * 返回码
     */
    private String status;

    /**
     * 成功时存储的数据
     */
    private T data;

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "XiTouWangResponseEntity{" +
                "tips='" + tips + '\'' +
                ", status='" + status + '\'' +
                ", data=" + data +
                '}';
    }
}